﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Cn.Edwon.Data {
    public interface ICommonProcess {
        /// <summary>
        /// 通用的Update操作
        /// </summary>
        /// <param name="tsql">SQL语句</param>
        /// <returns></returns>
        int CommonUpdateAction(String tsql);
        /// <summary>
        /// 通用的Select操作
        /// </summary>
        /// <param name="tsql">SQL语句</param>
        /// <param name="dataname">取得的数据集的名字</param>
        /// <returns></returns>
        DataSet CommonSelectAction(String tsql, String tableName);

    }
}
